package de.fhkl.imst.i.cgma.raytracer;

import java.awt.Rectangle;

import de.fhkl.imst.i.cgma.raytracer.gui.IRayTracerImplementation;

public class NewRenderThread  implements Runnable 
{
	
	private int start;
	private int numThreads;
	private IRayTracerImplementation rayTracer;
	
	public NewRenderThread(int start, int numThreads, IRayTracerImplementation tracer)
	{
		this.start = start;
		this.numThreads = numThreads;
		this.rayTracer = tracer;
	}

	@Override
	public void run() 
	{
		rayTracer.rayTraceThread(start, numThreads);
	}

}
